import { request,baseUrl } from './request.js'
export function sendCode(data) {
  return request({
    url: '/api/user/send/code',
    method: 'POST',
	data:data
  })
} 
export function userRegister(data) {
  return request({
    url: '/api/user/login',
    method: 'POST',
	data:data
  })
} 
export function productList(data) {
  return request({
    url: '/api/product/list',
    method: 'POST',
	data:data
  })
} 
export function productInfo(data) {
  return request({
    url: '/api/product/info/'+data,
    method: 'GET',
	
  })
} 
export function transactionSave(data) {
  return request({
    url: '/api/transaction/save',
    method: 'POST',
	data:data
  })
} 
export function transactionUpdate(data) {
  return request({
    url: '/api/transaction/update',
    method: 'POST',
	data:data
  })
} 
export function noticeList(data) {
  return request({
    url: '/api/dict/notice/list',
    method: 'POST',
	data:data
  })
} 
export function bankList(data) {
  return request({
    url: '/api/bank/list',
    method: 'POST',
	data:data
  })
} 
export function bankSave(data) {
  return request({
    url: '/api/bank/save',
    method: 'POST',
	data:data
  })
} 
export function bankInfo(data) {
  return request({
    url: '/api/bank/info/'+data,
    method: 'GET'
  })
} 
export function userUpdate(data) {
  return request({
    url: '/api/user/update',
    method: 'POST',
	data:data
  })
} 
export function userInfo(data) {
  return request({
    url: '/api/user/info',
    method: 'POST',
	data:data
  })
} 
export function bankDelete(data) {
  return request({
    url: '/api/bank/delete/'+data,
    method: 'GET',
	
  })
} 
export function walletPw(data) {
  return request({
    url: '/api/wallet/pw',
    method: 'POST',
	data:data
  })
} 